﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Gurucore.TestUI
{
	public class Program
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main()
		{
			DateTime dtStart = DateTime.Now;
			Program oThis = new Gurucore.TestUI.Program();
			for (int i = 0; i < 1000000; i++)
			{
				oThis.Test();
			}
			double dblTime = DateTime.Now.Subtract(dtStart).TotalMilliseconds;

			Gurucore.Framework.Core.Application.GetInstance().Start(Environment.CurrentDirectory);

			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			Application.Run(new MainForm());

			Gurucore.Framework.Core.Application.GetInstance().Stop();
		}

		public void Test()
		{
			int i = 0;
			i++;
		}
	}
}
